package com.driver.system.service;


import com.driver.system.db.pojo.UserEntity;
import com.driver.system.util.PageUtils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public interface UserService {

    HashMap wechatLogin(String uuid);

    Set<String> searchUserPermissions(int userId);

    HashMap searchById(int userId);

    HashMap searchUserSummary(int userId);

    ArrayList<HashMap> searchAllUser();

    Integer login(Map param);

    int updatePassword(Map param);

    PageUtils searchUserByPage(Map param);

    int insert(UserEntity user);

    int update(Map param);

    int deleteUserByIds(Integer[] ids);

    ArrayList<String> searchUserRoles(int userId);

    HashMap searchNameAndDept(int userId);
}
